package com.yunxi.otd.service;

import com.yunxi.core.web.ApiResult;
import java.lang.reflect.InvocationTargetException;
import java.util.*;
import com.github.pagehelper.PageInfo;
import com.yunxi.otd.pojo.OtdRuleBaseVO;

/**
 * <p>
 * 生产规则库 服务类
 * </p>
 *
 * @author XUQI
 * @since 2019-10-09
 */
public interface OtdRuleBaseDubboService {

    OtdRuleBaseVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    ApiResult saveOrUpdate(OtdRuleBaseVO otdRuleBaseVO);

    PageInfo<OtdRuleBaseVO> findPageByVO(OtdRuleBaseVO otdRuleBaseVO,Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<OtdRuleBaseVO> otdRuleBaseVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(OtdRuleBaseVO otdRuleBaseVO);
}
